home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / src / out-of-phase-102-c / OutOfPhase 1.02 Source / OutOfPhase Folder / NumberDialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-23  |  757 b   |  27 lines  |  [TEXT/KAHL]

  1. /* NumberDialog.h */
  2.  
  3. #ifndef Included_NumberDialog_h
  4. #define Included_NumberDialog_h
  5.  
  6. /* NumberDialog module depends on */
  7. /* MiscInfo.h */
  8. /* Debug */
  9. /* Audit */
  10. /* Definitions */
  11. /* StringDialog */
  12. /* Numbers */
  13. /* Memory */
  14.  
  15. /* so we don't need Menus */
  16. struct MenuItemType;
  17.  
  18. /* present a dialog displaying InitialValue and asking for a new value.  the */
  19. /* new value is returned.  if the dialog couldn't be presented or the user cancelled, */
  20. /* then the original number is returned */
  21. long                    DoNumberDialog(char* Prompt, long InitialValue, struct MenuItemType* MCut,
  22.                                 struct MenuItemType* MPaste, struct MenuItemType* MCopy,
  23.                                 struct MenuItemType* MUndo, struct MenuItemType* MSelectAll,
  24.                                 struct MenuItemType* MClear);
  25.  
  26. #endif
  27.